//
//  QVerifyWebViewController.h
//  QWeiboSDK4iOSDemo
//
//  Created   on 11-1-14.
//   
//

#import <UIKit/UIKit.h>

@protocol QVerifyWebViewControllerDelegate;

@interface QVerifyWebViewController : UIViewController<UIWebViewDelegate> {
	NSString    *tokenKey,
                *appKey,
                *appSecret,
                *tokenSecret;
	UIWebView *mWebView;
    id<QVerifyWebViewControllerDelegate> delegate;
}

@property (nonatomic, assign) id<QVerifyWebViewControllerDelegate> delegate;
@property (nonatomic, retain) NSString  *tokenKey, *appKey,
                                        *appSecret, *tokenSecret;

- (id)initwithTokenKey:(NSString*)tokenKey 
           TokenSecret:(NSString*)tokenSecret
                appKey:(NSString*)appKey 
             appSecret:(NSString*)appSecret;

@end

@protocol QVerifyWebViewControllerDelegate <NSObject>

- (void)controller:(QVerifyWebViewController*)controller 
          tokenKey:(NSString*)tokenKey
       tokenSecret:(NSString*)tokenSecret 
            appKey:(NSString*)appKey
         appSecret:(NSString*)appSecret;

@end